package com.gms.service.eventmanager;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gms.entity.event.Event;
import com.gms.entity.event.Referee;
import org.springframework.lang.Nullable;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface EventService extends IService<Event> {
    public void insertEvent(Event event);
    public Page<Event> queryAll(Integer PageNum);
    public Page<Event> queryEvent_status(Integer PageNum, String event_status);
    public Page<Event> queryEvent_date(Integer PageNum, Date EventStartTime, Date EventEndTime);
    public Page<Event> queryEvent_in(Integer PageNum);
    public Event queryEvent_id(String event_id);
    public Page<Event> queryEvent_name(Integer PageNum, String event_name);
    public Page<Event> queryEvent(Integer PageNum, String event_id,String event_name, Date EventStartTime, Date EventEndTime);
    public Page<Event> queryEvent_before(Integer PageNum);
    public Page<Event> queryEvent_end(Integer PageNum);
    public void updateAuditor(Event event);
    public Page<Event> queryEvent_id_status(Integer PageNum,String event_id,String event_status);
    public Page<Event> queryEvent_user(Integer PageNum, String user_id);
    public String queryEventId();
    public List<Event> queryEventNotice();
    public void insertNotice(@Nullable String EventId);
    public void deleteNotice(@Nullable String EventId);
    public Page<Event> queryEventNoticeAll(Integer PageNum);
}
